onUpdateServer
Registers a listener to the global onChangedServer
event. This will be fired on the logical server after an updated config is prepared for saving.
Typically, this will be after a config update is received from a connected client, and that update passes permission checks.
Author
fzzyhmstrs
Since
0.5.0
Parameters
listener
OnUpdateServerListener callback that is fired when any config is updated on the server side. This can be used to inspect other configs, not just your own.
See also
A direct-implementation option for inspecting your own config on change.